package com.jhc.yolo.pojo;

public class Detection {
    private String label;
    private float[] bbox;

    private float confidence;

    public Detection(String label, float[] bbox, float confidence) {
        this.label = label;
        this.bbox = bbox;
        this.confidence = confidence;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public float[] getBbox() {
        return bbox;
    }

    public void setBbox(float[] bbox) {
        this.bbox = bbox;
    }

    public float getConfidence() {
        return confidence;
    }

    public void setConfidence(float confidence) {
        this.confidence = confidence;
    }
}
